package com.bingo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bingo.common.R;
import com.bingo.entity.Meteorology;
import com.bingo.entity.WaterQuality;
import com.bingo.entity.dto.resp.WaterQualityRecord;

import java.sql.Date;
import java.util.List;

public interface WaterQualityService extends IService<WaterQuality> {
    // 新增水质记录
    R add(WaterQuality waterQuality);
    //查询水质数据记录
    List<WaterQualityRecord> selectWaterQualityRecord(List<String> poolNos, Date startTime, Date endTime, String userId);
    boolean deleteWaterQualityRecord(WaterQuality waterQuality);
    //修改水质数据记录
    boolean update(WaterQuality waterQuality) ;
    }
